
package com.mephi.exception;


import org.springframework.core.ErrorCoded;


/**
 *
 * @author GM Mephisto
 * The abstract class for all exceptions raises in the application
 */
public abstract class ApplicationException extends Exception implements ErrorCoded
{
	public ApplicationException()
    {
        super();
    }

    /**
     * Constructs instance with set message.
     * 
     * @param message the message about exception to set
     */
    public ApplicationException(String message)
    {
        super(message);
    }

    /**
     * Constructs instance with set message and cause.
     * 
     * @param message the message of exception to set
     * @param cause the cause of exception to set
     */
    public ApplicationException(String message, Throwable cause)
    {
        super(message, cause);
    }
    
    private static final long serialVersionUID = -5553366082667027602L;
}
